#include <iostream>

using namespace std;

int main() {
    int cond = 1;
    int a = 0;
    switch (cond) {
        case 1:
            a = 1;
        case 2:
            a = 2;
        default:
            break;
    }
    cout << "a: " << a << endl;
    return 0;
}